Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (27 loc) · 602 Bytes

3.6.3 - 属性列表.md

File metadata and controls

36 lines (27 loc) · 602 Bytes

属性列表

errCode

错误代码

  • 1 Error in read or write
  • 2 Everything else...
  • 3 End of file
  • 4 Protocol error
  • 5 Out of memory

errMsg

错误消息

connected

当前Redis客户端是否连接到了服务器。

定义的PHP常量

用于multi($mode)方法,默认为SWOOLE_REDIS_MODE_MULTI模式:

  • SWOOLE_REDIS_MODE_MULTI
  • SWOOLE_REDIS_MODE_PIPELINE

用于判断type()命令的返回值:

  • SWOOLE_REDIS_TYPE_NOT_FOUND
  • SWOOLE_REDIS_TYPE_STRING
  • SWOOLE_REDIS_TYPE_SET
  • SWOOLE_REDIS_TYPE_LIST
  • SWOOLE_REDIS_TYPE_ZSET
  • SWOOLE_REDIS_TYPE_HASH